﻿// -----------------------------------------------------------------------
// <copyright file="DataRetrievalProcessorResult.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace Dhgms.TplHelper.Model.Info
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    public class DataRetrievalProcessorResult<TTaskDataType>
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="reportableCount"></param>
        /// <param name="dataResult"></param>
        public DataRetrievalProcessorResult(long reportableCount, TTaskDataType dataResult)
        {
            this.ReportableCount = reportableCount;
            this.DataResult = dataResult;
        }

        /// <summary>
        /// Gets the reportable count
        /// </summary>
        public long ReportableCount { get; private set; }

        /// <summary>
        /// Gets the Data Result
        /// </summary>
        public TTaskDataType DataResult { get; private set; }
    }
}
